package io.adrainty.bolee.trade.models.valobj;

import com.baomidou.mybatisplus.annotation.EnumValue;
import io.adrainty.bolee.framework.commons.basic.IEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * <p>TradeStatus</p>
 *
 * @author AdRainty
 * @version V1.0.0
 * @description 交易单状态
 * @since 2025/8/28 13:42:08
 */

@Getter
@AllArgsConstructor
public enum TradeStatusEnum implements IEnum {

    // 交易单状态0待付款 1已支付 2已关闭）
    WAIT_PAY("0", "待付款"),
    PAYED("1", "已支付"),
    CLOSED("2", "已关闭"),
    ;

    @EnumValue
    private final String code;
    private final String desc;
}
